package com.hhf.spring.bean;

import org.springframework.beans.factory.FactoryBean;

/**
 * 工厂bean
 */
public class HelloFactory implements FactoryBean<Hello>{

	@Override
	public Hello getObject() throws Exception {
		return new Hello();
	}

	@Override
	public Class<?> getObjectType() {
		return Hello.class;
	}
}
